package com.yzyz.management.service;

import com.yzyz.management.bean.AdminBean;
import com.yzyz.management.dao.AdminDao;

public interface AdminService {
	int save(AdminBean admin);
	
	void remove(int id);
	
	void update(AdminBean admin);
	
	AdminBean find(int id);
	
	AdminBean login(String password, String name);
	
	AdminBean listAll();
	
	void setAdminDao(AdminDao adminDao);
}
